package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementTrainingRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementTrainingPo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementTrainingDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementTrainingDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementTrainingDomainImpl extends BaseDomainImpl<ExpenditureReimbursementTrainingDto, ExpenditureReimbursementTrainingPo> implements ExpenditureReimbursementTrainingDomain {

    @Resource
    private ExpenditureReimbursementTrainingRepository expenditureReimbursementTrainingRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementTrainingPo> getMapper() {
        return expenditureReimbursementTrainingRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementTrainingPo>> getRepositoryClass() {
        return ExpenditureReimbursementTrainingRepository.class;
    }

}
